package cn.sun.org.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Shop {
    private Long id;
    private String name;
    private String tel;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date registerTime = new Date();
    private int state = 0;
    private String address;
    private String logo;
    private Employee admin;
}
